package com.zlx.store.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (CouponRelateUserTab)实体类
 *
 * @author makejava
 * @since 2023-07-29 11:11:57
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("coupon_relate_user_tab")
public class CouponRelateUser {

    /**
     * 代理主键
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;


    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;



    /**
     * 优惠券id
     */
    @TableField("coupon_id")
    private Long couponId;



    /**
     * 优惠券数量
     */
    @TableField("coupon_count")
    private Integer couponCount;


}

